package com.dtagri.fjwlw.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 天地伟业NVR实体类
 * 
 * @author wlm. 创建时间：2014-12-20 最近修改时间：2015-01-08 最近修改人：wlm.
 */
public class TjNvr implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String nvrid;
	private String nvrwanip;
	private String nvrdataport;
	private String appDataPort;
	private String nvruserpwd;
	private String nvrusername;
	private String nvrlanip;
	private String nvrportnum;
	private String nvraddr;
	private Integer nvrstat;
	private String nvrtime;
	private String ipserver;
	private String serverport;
	private String cameraFlag;
	private List<TjNvrChanel> tjNvrChanels = new ArrayList<TjNvrChanel>();

	public List<TjNvrChanel> getTjNvrChanels() {
		return tjNvrChanels;
	}

	public void setTjNvrChanels(List<TjNvrChanel> tjNvrChanels) {
		this.tjNvrChanels = tjNvrChanels;
	}

	public String getIpserver() {
		return ipserver;
	}

	public void setIpserver(String ipserver) {
		this.ipserver = ipserver;
	}

	public String getServerport() {
		return serverport;
	}

	public void setServerport(String serverport) {
		this.serverport = serverport;
	}

	public String getCameraFlag() {
		return cameraFlag;
	}

	public void setCameraFlag(String cameraFlag) {
		this.cameraFlag = cameraFlag;
	}

	private Integer companyId;
	private String regionId;
	private String areaId;

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	// Constructors

	/** default constructor */
	public TjNvr() {
	}

	/** full constructor */
	public TjNvr(String nvrid, String nvrwanip, String nvrdataport,String appDataPort,
			String nvruserpwd, String nvrusername, String nvrlanip,
			String nvrportnum, String nvraddr, Integer nvrstat, String nvrtime,
			String nvrlogo, Integer companyId) {
		this.nvrid = nvrid;
		this.nvrwanip = nvrwanip;
		this.nvrdataport = nvrdataport;
		this.appDataPort = appDataPort;
		this.nvruserpwd = nvruserpwd;
		this.nvrusername = nvrusername;
		this.nvrlanip = nvrlanip;
		this.nvrportnum = nvrportnum;
		this.nvraddr = nvraddr;
		this.nvrstat = nvrstat;
		this.nvrtime = nvrtime;
		this.companyId = companyId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNvrid() {
		return this.nvrid;
	}

	public void setNvrid(String nvrid) {
		this.nvrid = nvrid;
	}

	public String getNvrwanip() {
		return this.nvrwanip;
	}

	public void setNvrwanip(String nvrwanip) {
		this.nvrwanip = nvrwanip;
	}

	public String getNvrdataport() {
		return this.nvrdataport;
	}

	public void setNvrdataport(String nvrdataport) {
		this.nvrdataport = nvrdataport;
	}

	public String getAppDataPort() {
		return appDataPort;
	}

	public void setAppDataPort(String appDataPort) {
		this.appDataPort = appDataPort;
	}

	public String getNvruserpwd() {
		return this.nvruserpwd;
	}

	public void setNvruserpwd(String nvruserpwd) {
		this.nvruserpwd = nvruserpwd;
	}

	public String getNvrusername() {
		return this.nvrusername;
	}

	public void setNvrusername(String nvrusername) {
		this.nvrusername = nvrusername;
	}

	public String getNvrlanip() {
		return this.nvrlanip;
	}

	public void setNvrlanip(String nvrlanip) {
		this.nvrlanip = nvrlanip;
	}

	public String getNvrportnum() {
		return this.nvrportnum;
	}

	public void setNvrportnum(String nvrportnum) {
		this.nvrportnum = nvrportnum;
	}

	public String getNvraddr() {
		return this.nvraddr;
	}

	public void setNvraddr(String nvraddr) {
		this.nvraddr = nvraddr;
	}

	public Integer getNvrstat() {
		return this.nvrstat;
	}

	public void setNvrstat(Integer nvrstat) {
		this.nvrstat = nvrstat;
	}

	public String getNvrtime() {
		return this.nvrtime;
	}

	public void setNvrtime(String nvrtime) {
		this.nvrtime = nvrtime;
	}

	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

}